package com.ldk.framework.dao;

import com.ldk.base.framework.dao.IBaseDAO;
import com.ldk.framework.entity.DriverReceiveTrip;
/**
* DriverReceiveTripDAO接口类
* @author xiangwl
*/
public interface IDriverReceiveTripDAO extends IBaseDAO<DriverReceiveTrip> {
	/**
	 * 删除当前司机除外的其他司机的接单行程记录,用于用户行程被接单后其他司机就无权再接此行程
	 * @param dbKey
	 * @param query
	 * @return
	 */
	int deleteExceptDriver(String dbKey, DriverReceiveTrip query);
}
